import Axios from './http'
import { HttpResponse } from './defaultConfig'
interface LoginParams {
    vuePage: string
}
//封装User类型的接口方法
export class pageService {
  /**
   * @description 生成页面
   * @return {HttpResponse} result
   */
  static async pageSave(params: LoginParams): Promise<HttpResponse> {
    return Axios('/save', {
      method: 'post',
      responseType: 'json',
      params: {
        ...params
      },
    })
  }
}